<template>
    <rx-dialog @ok="handleSubmit" @cancel="cancel">
        <rx-layout>
            <template #middle>
                <div style=" height: 100%; padding: 20px;">
                    <a-form layout="vertical">
                                <a-form-item :label="filterI18n('title','标题')">
                                    <a-input v-model:value="title"></a-input>
                                </a-form-item>

                                <a-form-item :label="filterI18n('defaultValues','默认值')">
                                    <a-input v-model:value="defValue"/>
                                </a-form-item>

                    </a-form>
                </div>
            </template>
        </rx-layout>
    </rx-dialog>
</template>

<script>
import filter from "./filter";

export default {
    name: "text-filter",
    mixins: [filter],
    data() {
        return {}
    },
    methods: {
        filterI18n(name, text, key) {
            return this.$ti18(name, text, "filterControllerLang", key);
        },
        //初始化配置
        initSetting() {
        },
        //获取配置
        getSetting() {
            return this.settings;
        },
    },
}
</script>

<style scoped>

</style>
